/*
 * An XML document type.
 * Localname: getmsgcharge
 * Namespace: http://api.clickatell.com/soap/webservice
 * Java type: com.clickatell.api.soap.webservice.GetmsgchargeDocument
 *
 * Automatically generated - do not modify.
 */
package com.clickatell.api.soap.webservice;


/**
 * A document containing one getmsgcharge(@http://api.clickatell.com/soap/webservice) element.
 *
 * This is a complex type.
 */
public interface GetmsgchargeDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GetmsgchargeDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACCFD3B2EF683481B2869BA753BE2C").resolveHandle("getmsgcharge1ff1doctype");
    
    /**
     * Gets the "getmsgcharge" element
     */
    com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge getGetmsgcharge();
    
    /**
     * Sets the "getmsgcharge" element
     */
    void setGetmsgcharge(com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge getmsgcharge);
    
    /**
     * Appends and returns a new empty "getmsgcharge" element
     */
    com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge addNewGetmsgcharge();
    
    /**
     * An XML getmsgcharge(@http://api.clickatell.com/soap/webservice).
     *
     * This is a complex type.
     */
    public interface Getmsgcharge extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Getmsgcharge.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACCFD3B2EF683481B2869BA753BE2C").resolveHandle("getmsgcharge00d6elemtype");
        
        /**
         * Gets the "api_id" element
         */
        int getApiId();
        
        /**
         * Gets (as xml) the "api_id" element
         */
        org.apache.xmlbeans.XmlInt xgetApiId();
        
        /**
         * Sets the "api_id" element
         */
        void setApiId(int apiId);
        
        /**
         * Sets (as xml) the "api_id" element
         */
        void xsetApiId(org.apache.xmlbeans.XmlInt apiId);
        
        /**
         * Gets the "session_id" element
         */
        java.lang.String getSessionId();
        
        /**
         * Gets (as xml) the "session_id" element
         */
        org.apache.xmlbeans.XmlString xgetSessionId();
        
        /**
         * Sets the "session_id" element
         */
        void setSessionId(java.lang.String sessionId);
        
        /**
         * Sets (as xml) the "session_id" element
         */
        void xsetSessionId(org.apache.xmlbeans.XmlString sessionId);
        
        /**
         * Gets the "apimsgid" element
         */
        java.lang.String getApimsgid();
        
        /**
         * Gets (as xml) the "apimsgid" element
         */
        org.apache.xmlbeans.XmlString xgetApimsgid();
        
        /**
         * Sets the "apimsgid" element
         */
        void setApimsgid(java.lang.String apimsgid);
        
        /**
         * Sets (as xml) the "apimsgid" element
         */
        void xsetApimsgid(org.apache.xmlbeans.XmlString apimsgid);
        
        /**
         * Gets the "password" element
         */
        java.lang.String getPassword();
        
        /**
         * Gets (as xml) the "password" element
         */
        org.apache.xmlbeans.XmlString xgetPassword();
        
        /**
         * Sets the "password" element
         */
        void setPassword(java.lang.String password);
        
        /**
         * Sets (as xml) the "password" element
         */
        void xsetPassword(org.apache.xmlbeans.XmlString password);
        
        /**
         * Gets the "user" element
         */
        java.lang.String getUser();
        
        /**
         * Gets (as xml) the "user" element
         */
        org.apache.xmlbeans.XmlString xgetUser();
        
        /**
         * Sets the "user" element
         */
        void setUser(java.lang.String user);
        
        /**
         * Sets (as xml) the "user" element
         */
        void xsetUser(org.apache.xmlbeans.XmlString user);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge newInstance() {
              return (com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (com.clickatell.api.soap.webservice.GetmsgchargeDocument.Getmsgcharge) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument newInstance() {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.clickatell.api.soap.webservice.GetmsgchargeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.clickatell.api.soap.webservice.GetmsgchargeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
